package com.xzer.xiaozhuoerinterface.entity;

import java.io.Serializable;

/**
 * (Credit)实体类
 *
 * @author makejava
 * @since 2022-03-20 09:58:25
 */
public class Credit implements Serializable {
    private static final long serialVersionUID = 606142584821789332L;
    
    private Integer id;
    /**
    * 名字
    */
    private String name;
    /**
    * 身份证
    */
    private String idcardnum;
    /**
    * 信用度
    */
    private Integer creditrate;

    public Credit() {

    }
    public Credit(String name, String idcardnum, Integer creditrate) {
        this.name = name;
        this.idcardnum = idcardnum;
        this.creditrate = creditrate;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIdcardnum() {
        return idcardnum;
    }

    public void setIdcardnum(String idcardnum) {
        this.idcardnum = idcardnum;
    }

    public Integer getCreditrate() {
        return creditrate;
    }

    public void setCreditrate(Integer creditrate) {
        this.creditrate = creditrate;
    }

}